package com.demo.bean;

public class DataTable {
	private int draw;//请求次数
	private int recordsTotal;//总记录数
	private int recordsFiltered;//过滤后总记录数
	private Object data;//数据
	
	
	public DataTable(int recordsTotal, Object data) {
		super();
		this.draw=1;
		this.recordsFiltered = recordsTotal;
		this.recordsTotal = recordsTotal;
		this.data = data;
	}
	
	
	public DataTable(int draw, int recordsTotal, Object data) {
		super();
		this.draw = draw;
		this.recordsFiltered = recordsTotal;
		this.recordsTotal = recordsTotal;
		this.data = data;
	}


	public int getDraw() {
		return draw;
	}
	public void setDraw(int draw) {
		this.draw = draw;
	}
	public int getRecordsTotal() {
		return recordsTotal;
	}
	public void setRecordsTotal(int recordsTotal) {
		this.recordsTotal = recordsTotal;
	}
	public int getRecordsFiltered() {
		return recordsFiltered;
	}
	public void setRecordsFiltered(int recordsFiltered) {
		this.recordsFiltered = recordsFiltered;
	}
	public Object getData() {
		return data;
	}
	public void setData(Object data) {
		this.data = data;
	}
	
	
}
